<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>04-continue</title>
</head>
<body>
    <script>
        /* 
            continue(继续)跳过本次循环
            break (打破) 跳出整个循环
        */
       // 逢 7  过 。(个位和十位不能是 7 )
       for (let i = 1; i < 100; i++){
           if (i % 7 ==0 || i % 10 ==7){
                console.log(i + '的个位或者十位是7');
                //continue;
                break;
           }
           console.log('此时 i 是 '+i);
       }
       console.log('game over');
    </script>
</body>
</html>